#include "StdAfx.h"
#include "UIClientDC.h"


CUIClientDC::CUIClientDC( HWND hWnd ): CUIDC( hWnd )
{
    m_hDC =::GetDC( hWnd );
}


CUIClientDC::~CUIClientDC( void )
{
    ::ReleaseDC( m_hWnd, m_hDC );
}

HDC CUIClientDC::GetDC()
{
    return m_hDC;
}
